<!-- Begin page content -->
<main role="main" class="container">
    <h1 class="mt-5 mb-4">删除用户 Delete a User</h1>

    <form method="post" action="<?php echo BASE_URL; ?>/user/delete/post">
        <input type="hidden" class="form-control" name="id" value="{{$userId}}">
        
        <div class="form-group row">
            <label class="col-sm-2 col-form-label">姓名 <br>Name</label>
            <div class="col-sm-10">
                {{$userName}}
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-2 col-form-label">电子邮件 <br>Email Address</label>
            <div class="col-sm-10">
                {{$userEmail}}
            </div>
        </div>
        <div class="form-group row">
            <label class="col-sm-2 col-form-label">手机号码 <br>Mobile Number</label>
            <div class="col-sm-10">
                {{$userMobile}}
            </div>
        </div>
        
        <div class="alert alert-danger" role="alert">您确定要删除吗？ Are you sure to delete ?</div>
        <button type="submit" class="btn btn-danger">确认 Yes</button>
        <a class="btn btn-primary" href="<?php echo BASE_URL; ?>/users">取消 No</a>
    </form>
</main>